<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script src="https://unpkg.com/vue@next"></script>
    <div id="app">
        <ul>
            <todo-item></todo-item>
            <todo-item></todo-item>
            <todo-item></todo-item>
        </ul>
        <!-- </div>
    <div id="app">
        <ul>
            <li>
                <input type="checkbox">
                <span>学习vue属性</span>
                <button>删除</button>
            </li>
            <li>
                <input type="checkbox">
                <span>学习vue事件</span>
                <button>删除</button>
            </li>
            <li>
                <input type="checkbox">
                <span>学习vue插槽</span>
                <button>删除</button>
            </li>
        </ul>
    </div> -->
</body>
<script defer>
    const app = Vue.createApp({})

    app.component('todo-item', {
        template: `<li>
            <input type="checkbox">
            <span>学习vue属性</span>
            <button>删除</button>
        </li>`
    })
    app.mount('#app')
</script>

</html>